e4c8640741d61f07e79b3f5c375e46485902c77f,javasrc/src/org/ccnx/ccn/impl/encoding/BinaryXMLDecoder.java,BinaryXMLDecoder,peekStartElementAsLong,#,250
Before Change
fos.close();
}
_istream.reset();
Log.info("BinaryXMLDecoder: exception in peekStartElement, dumping offending object to file: " + tempFile.getAbsolutePath());
throw e;
} catch (IOException ie) {
Log.info("IOException in BinaryXMLDecoder error handling: " + e.getMessage());
Log.logStackTrace(Level.INFO, e);
throw new ContentDecodingException("peekStartElement", e);
}
After Change
fos.close();
}
_istream.reset();
if (Log.isLoggable(Log.FAC_ENCODING, Level.INFO))
Log.info(Log.FAC_ENCODING, "BinaryXMLDecoder: exception in peekStartElement, dumping offending object to file: " + tempFile.getAbsolutePath());
throw e;
} catch (IOException ie) {
Log.info(Log.FAC_ENCODING, "IOException in BinaryXMLDecoder error handling: " + e.getMessage());
Log.logStackTrace(Log.FAC_ENCODING, Level.INFO, e);
throw new ContentDecodingException("peekStartElement", e);
}
} catch (IOException e) {
Log.info(Log.FAC_ENCODING, "IOException in BinaryXMLDecoder peekStartElementAsLong: " + e.getMessage());
Log.logStackTrace(Log.FAC_ENCODING, Level.INFO, e);
throw new ContentDecodingException("peekStartElement", e);
} finally {